﻿// Decompiled with JetBrains decompiler
// Type: SandBox.AI.UsablePlaceAI
// Assembly: SandBox, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 75BA0B61-63FF-423A-8603-0A2974B621BB
// Assembly location: D:\steam\steamapps\common\Mount & Blade II Bannerlord\Modules\SandBox\bin\Win64_Shipping_Client\SandBox.dll

using TaleWorlds.MountAndBlade;

#nullable disable
namespace SandBox.AI
{
  public class UsablePlaceAI : UsableMachineAIBase
  {
    public UsablePlaceAI(UsableMachine usableMachine)
      : base(usableMachine)
    {
    }

    protected override Agent.AIScriptedFrameFlags GetScriptedFrameFlags(Agent agent)
    {
      return !this.UsableMachine.GameEntity.HasTag("quest_wanderer_target") ? Agent.AIScriptedFrameFlags.DoNotRun : Agent.AIScriptedFrameFlags.None;
    }
  }
}
